package com.softeem.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2022-07-01
 */
@TableName("admin")
public class Admin extends Model<Admin> implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID=1L;

    @TableId(value = "adAccount", type = IdType.AUTO)
    private String adAccount;

    @TableField("adPassword")
    private String adPassword;


    public String getAdAccount() {
        return adAccount;
    }

    public void setAdAccount(String adAccount) {
        this.adAccount = adAccount;
    }

    public String getAdPassword() {
        return adPassword;
    }

    public void setAdPassword(String adPassword) {
        this.adPassword = adPassword;
    }

    @Override
    public String toString() {
        return "Admin{" +
        "adAccount=" + adAccount +
        ", adPassword=" + adPassword +
        "}";
    }
}
